package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.IConfigureGlobalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 全局配置Controller
 *
 * @author ruoyi
 * @date 2024-05-16
 */
@RestController
@RequestMapping("/xcx/configureGlobal")
public class XcxConfigureGlobal extends BaseController {

    @Autowired
    private IConfigureGlobalService configureGlobalService;

    /**
     * 获取全局配置详细信息
     */
    @GetMapping(value = "/getInfo")
    public AjaxResult getInfo()
    {
        return success(configureGlobalService.selectConfigureGlobalById(1L));
    }
}
